package com.gitee.mars.tourserver.response.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @version: 2.4.5
 * @author: wq
 * @time: 2021/2/4 11:57
 */
@Data
public class SysDeptListVo implements Serializable {

    private Integer id;

    private Integer parentId;

    private Integer sort;

    private String name;

    private String leader;

    private String mobile;

    private String email;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 子部门
     */
    private List<SysDeptListVo> children;
}
